﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSM.BusinessLayer;
using GSM.BusinessLayer.DataLayer;

namespace CRM_SMS_MARKETING.BL
{
    class BLLPromotion
    {
        PromotionSql promotionsql;
        public BLLPromotion()
        {
            promotionsql = new PromotionSql();
        }
        public Promotion GetPromotionByID(int ID)
        {
            Promotion pro = new Promotion();
            PromotionKeys keys = new PromotionKeys(ID);
            pro= promotionsql.SelectByPrimaryKey(keys);
            return pro;

        }
    }
}
